<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>MCUXpresso SDK API Reference Manual: UART SDMA Driver</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="fs_logo.gif"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">MCUXpresso SDK API Reference Manual
   &#160;<span id="projectnumber">Rev. 0</span>
   </div>
   <div id="projectbrief">NXP Semiconductors</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>API&#160;Reference</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__uart__sdma__driver.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a>  </div>
  <div class="headertitle">
<div class="title">UART SDMA Driver<div class="ingroups"><a class="el" href="group__uart.html">UART: Universal Asynchronous Receiver/Transmitter Driver</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:struct__uart__sdma__handle"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#struct__uart__sdma__handle">uart_sdma_handle_t</a></td></tr>
<tr class="memdesc:struct__uart__sdma__handle"><td class="mdescLeft">&#160;</td><td class="mdescRight">UART sDMA handle.  <a href="group__uart__sdma__driver.html#struct__uart__sdma__handle">More...</a><br/></td></tr>
<tr class="separator:struct__uart__sdma__handle"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga99bbb5bd4c0958a0440d34d4000f24f0"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#ga99bbb5bd4c0958a0440d34d4000f24f0">uart_sdma_transfer_callback_t</a> )(UART_Type *base, uart_sdma_handle_t *handle, status_t status, void *userData)</td></tr>
<tr class="memdesc:ga99bbb5bd4c0958a0440d34d4000f24f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">UART transfer callback function.  <a href="#ga99bbb5bd4c0958a0440d34d4000f24f0">More...</a><br/></td></tr>
<tr class="separator:ga99bbb5bd4c0958a0440d34d4000f24f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
sDMA transactional</h2></td></tr>
<tr class="memitem:ga0c50f5dc5bfdd56a6d3100b0bd7c7253"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#ga0c50f5dc5bfdd56a6d3100b0bd7c7253">UART_TransferCreateHandleSDMA</a> (UART_Type *base, uart_sdma_handle_t *handle, <a class="el" href="group__uart__sdma__driver.html#ga99bbb5bd4c0958a0440d34d4000f24f0">uart_sdma_transfer_callback_t</a> callback, void *userData, <a class="el" href="group__sdma.html#structsdma__handle__t">sdma_handle_t</a> *txSdmaHandle, <a class="el" href="group__sdma.html#structsdma__handle__t">sdma_handle_t</a> *rxSdmaHandle, uint32_t eventSourceTx, uint32_t eventSourceRx)</td></tr>
<tr class="memdesc:ga0c50f5dc5bfdd56a6d3100b0bd7c7253"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the UART handle which is used in transactional functions.  <a href="#ga0c50f5dc5bfdd56a6d3100b0bd7c7253">More...</a><br/></td></tr>
<tr class="separator:ga0c50f5dc5bfdd56a6d3100b0bd7c7253"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga38a0db46c56cc3ddf78142c88ad70669"><td class="memItemLeft" align="right" valign="top">status_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#ga38a0db46c56cc3ddf78142c88ad70669">UART_SendSDMA</a> (UART_Type *base, uart_sdma_handle_t *handle, <a class="el" href="group__uart__driver.html#structuart__transfer__t">uart_transfer_t</a> *xfer)</td></tr>
<tr class="memdesc:ga38a0db46c56cc3ddf78142c88ad70669"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends data using sDMA.  <a href="#ga38a0db46c56cc3ddf78142c88ad70669">More...</a><br/></td></tr>
<tr class="separator:ga38a0db46c56cc3ddf78142c88ad70669"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac01a1eba1e297b0d7f48324c7a994bf3"><td class="memItemLeft" align="right" valign="top">status_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#gac01a1eba1e297b0d7f48324c7a994bf3">UART_ReceiveSDMA</a> (UART_Type *base, uart_sdma_handle_t *handle, <a class="el" href="group__uart__driver.html#structuart__transfer__t">uart_transfer_t</a> *xfer)</td></tr>
<tr class="memdesc:gac01a1eba1e297b0d7f48324c7a994bf3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Receives data using sDMA.  <a href="#gac01a1eba1e297b0d7f48324c7a994bf3">More...</a><br/></td></tr>
<tr class="separator:gac01a1eba1e297b0d7f48324c7a994bf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4b8434c55fd82a8bb22e4b5b8adeb1b4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#ga4b8434c55fd82a8bb22e4b5b8adeb1b4">UART_TransferAbortSendSDMA</a> (UART_Type *base, uart_sdma_handle_t *handle)</td></tr>
<tr class="memdesc:ga4b8434c55fd82a8bb22e4b5b8adeb1b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Aborts the sent data using sDMA.  <a href="#ga4b8434c55fd82a8bb22e4b5b8adeb1b4">More...</a><br/></td></tr>
<tr class="separator:ga4b8434c55fd82a8bb22e4b5b8adeb1b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3d2e02cef72ee6ad5d24e999ab661e3b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#ga3d2e02cef72ee6ad5d24e999ab661e3b">UART_TransferAbortReceiveSDMA</a> (UART_Type *base, uart_sdma_handle_t *handle)</td></tr>
<tr class="memdesc:ga3d2e02cef72ee6ad5d24e999ab661e3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Aborts the receive data using sDMA.  <a href="#ga3d2e02cef72ee6ad5d24e999ab661e3b">More...</a><br/></td></tr>
<tr class="separator:ga3d2e02cef72ee6ad5d24e999ab661e3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="struct__uart__sdma__handle" id="struct__uart__sdma__handle"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct _uart_sdma_handle</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"></div><table class="memberdecls">
<tr><td colspan="2"><h3>Data Fields</h3></td></tr>
<tr class="memitem:a9bfac94dfa351480c7758f6eec951581"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__uart__sdma__driver.html#ga99bbb5bd4c0958a0440d34d4000f24f0">uart_sdma_transfer_callback_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#a9bfac94dfa351480c7758f6eec951581">callback</a></td></tr>
<tr class="memdesc:a9bfac94dfa351480c7758f6eec951581"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback function.  <a href="#a9bfac94dfa351480c7758f6eec951581">More...</a><br/></td></tr>
<tr class="separator:a9bfac94dfa351480c7758f6eec951581"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5acf81152cc288fefcd6529d50bc48b9"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#a5acf81152cc288fefcd6529d50bc48b9">userData</a></td></tr>
<tr class="memdesc:a5acf81152cc288fefcd6529d50bc48b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">UART callback function parameter.  <a href="#a5acf81152cc288fefcd6529d50bc48b9">More...</a><br/></td></tr>
<tr class="separator:a5acf81152cc288fefcd6529d50bc48b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a78ec231b140dac6e2fde9f6b5bb88a"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#a5a78ec231b140dac6e2fde9f6b5bb88a">rxDataSizeAll</a></td></tr>
<tr class="memdesc:a5a78ec231b140dac6e2fde9f6b5bb88a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of the data to receive.  <a href="#a5a78ec231b140dac6e2fde9f6b5bb88a">More...</a><br/></td></tr>
<tr class="separator:a5a78ec231b140dac6e2fde9f6b5bb88a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad53a7811ce1a24530f07b181194af6ce"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#ad53a7811ce1a24530f07b181194af6ce">txDataSizeAll</a></td></tr>
<tr class="memdesc:ad53a7811ce1a24530f07b181194af6ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of the data to send out.  <a href="#ad53a7811ce1a24530f07b181194af6ce">More...</a><br/></td></tr>
<tr class="separator:ad53a7811ce1a24530f07b181194af6ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af638c5d4399fc677a928e6608a993eb4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__sdma.html#structsdma__handle__t">sdma_handle_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#af638c5d4399fc677a928e6608a993eb4">txSdmaHandle</a></td></tr>
<tr class="memdesc:af638c5d4399fc677a928e6608a993eb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The sDMA TX channel used.  <a href="#af638c5d4399fc677a928e6608a993eb4">More...</a><br/></td></tr>
<tr class="separator:af638c5d4399fc677a928e6608a993eb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22b55cccadd9c0b5de6a5245e14600b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__sdma.html#structsdma__handle__t">sdma_handle_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#a22b55cccadd9c0b5de6a5245e14600b2">rxSdmaHandle</a></td></tr>
<tr class="memdesc:a22b55cccadd9c0b5de6a5245e14600b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">The sDMA RX channel used.  <a href="#a22b55cccadd9c0b5de6a5245e14600b2">More...</a><br/></td></tr>
<tr class="separator:a22b55cccadd9c0b5de6a5245e14600b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac512e5cf0122162333483871e8ae055d"><td class="memItemLeft" align="right" valign="top">volatile uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#ac512e5cf0122162333483871e8ae055d">txState</a></td></tr>
<tr class="memdesc:ac512e5cf0122162333483871e8ae055d"><td class="mdescLeft">&#160;</td><td class="mdescRight">TX transfer state.  <a href="#ac512e5cf0122162333483871e8ae055d">More...</a><br/></td></tr>
<tr class="separator:ac512e5cf0122162333483871e8ae055d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38bcebb7fe84e03118f3dd231d99e883"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38bcebb7fe84e03118f3dd231d99e883"></a>
volatile uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__uart__sdma__driver.html#a38bcebb7fe84e03118f3dd231d99e883">rxState</a></td></tr>
<tr class="memdesc:a38bcebb7fe84e03118f3dd231d99e883"><td class="mdescLeft">&#160;</td><td class="mdescRight">RX transfer state. <br/></td></tr>
<tr class="separator:a38bcebb7fe84e03118f3dd231d99e883"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h4 class="groupheader">Field Documentation</h4>
<a class="anchor" id="a9bfac94dfa351480c7758f6eec951581"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__uart__sdma__driver.html#ga99bbb5bd4c0958a0440d34d4000f24f0">uart_sdma_transfer_callback_t</a> uart_sdma_handle_t::callback</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5acf81152cc288fefcd6529d50bc48b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* uart_sdma_handle_t::userData</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5a78ec231b140dac6e2fde9f6b5bb88a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t uart_sdma_handle_t::rxDataSizeAll</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad53a7811ce1a24530f07b181194af6ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t uart_sdma_handle_t::txDataSizeAll</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af638c5d4399fc677a928e6608a993eb4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__sdma.html#structsdma__handle__t">sdma_handle_t</a>* uart_sdma_handle_t::txSdmaHandle</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a22b55cccadd9c0b5de6a5245e14600b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__sdma.html#structsdma__handle__t">sdma_handle_t</a>* uart_sdma_handle_t::rxSdmaHandle</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac512e5cf0122162333483871e8ae055d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile uint8_t uart_sdma_handle_t::txState</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga99bbb5bd4c0958a0440d34d4000f24f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* uart_sdma_transfer_callback_t)(UART_Type *base, uart_sdma_handle_t *handle, status_t status, void *userData)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga0c50f5dc5bfdd56a6d3100b0bd7c7253"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UART_TransferCreateHandleSDMA </td>
          <td>(</td>
          <td class="paramtype">UART_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uart_sdma_handle_t *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__uart__sdma__driver.html#ga99bbb5bd4c0958a0440d34d4000f24f0">uart_sdma_transfer_callback_t</a>&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>userData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__sdma.html#structsdma__handle__t">sdma_handle_t</a> *&#160;</td>
          <td class="paramname"><em>txSdmaHandle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__sdma.html#structsdma__handle__t">sdma_handle_t</a> *&#160;</td>
          <td class="paramname"><em>rxSdmaHandle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>eventSourceTx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>eventSourceRx</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>UART peripheral base address. </td></tr>
    <tr><td class="paramname">handle</td><td>Pointer to the uart_sdma_handle_t structure. </td></tr>
    <tr><td class="paramname">callback</td><td>UART callback, NULL means no callback. </td></tr>
    <tr><td class="paramname">userData</td><td>User callback function data. </td></tr>
    <tr><td class="paramname">rxSdmaHandle</td><td>User-requested DMA handle for RX DMA transfer. </td></tr>
    <tr><td class="paramname">txSdmaHandle</td><td>User-requested DMA handle for TX DMA transfer. </td></tr>
    <tr><td class="paramname">eventSourceTx</td><td>Eventsource for TX DMA transfer. </td></tr>
    <tr><td class="paramname">eventSourceRx</td><td>Eventsource for RX DMA transfer. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga38a0db46c56cc3ddf78142c88ad70669"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">status_t UART_SendSDMA </td>
          <td>(</td>
          <td class="paramtype">UART_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uart_sdma_handle_t *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__uart__driver.html#structuart__transfer__t">uart_transfer_t</a> *&#160;</td>
          <td class="paramname"><em>xfer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This function sends data using sDMA. This is a non-blocking function, which returns right away. When all data is sent, the send callback function is called.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>UART peripheral base address. </td></tr>
    <tr><td class="paramname">handle</td><td>UART handle pointer. </td></tr>
    <tr><td class="paramname">xfer</td><td>UART sDMA transfer structure. See <a class="el" href="group__uart__driver.html#structuart__transfer__t" title="UART transfer structure. ">uart_transfer_t</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">kStatus_Success</td><td>if succeeded; otherwise failed. </td></tr>
    <tr><td class="paramname">kStatus_UART_TxBusy</td><td>Previous transfer ongoing. </td></tr>
    <tr><td class="paramname">kStatus_InvalidArgument</td><td>Invalid argument. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gac01a1eba1e297b0d7f48324c7a994bf3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">status_t UART_ReceiveSDMA </td>
          <td>(</td>
          <td class="paramtype">UART_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uart_sdma_handle_t *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__uart__driver.html#structuart__transfer__t">uart_transfer_t</a> *&#160;</td>
          <td class="paramname"><em>xfer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This function receives data using sDMA. This is a non-blocking function, which returns right away. When all data is received, the receive callback function is called.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>UART peripheral base address. </td></tr>
    <tr><td class="paramname">handle</td><td>Pointer to the uart_sdma_handle_t structure. </td></tr>
    <tr><td class="paramname">xfer</td><td>UART sDMA transfer structure. See <a class="el" href="group__uart__driver.html#structuart__transfer__t" title="UART transfer structure. ">uart_transfer_t</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">kStatus_Success</td><td>if succeeded; otherwise failed. </td></tr>
    <tr><td class="paramname">kStatus_UART_RxBusy</td><td>Previous transfer ongoing. </td></tr>
    <tr><td class="paramname">kStatus_InvalidArgument</td><td>Invalid argument. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga4b8434c55fd82a8bb22e4b5b8adeb1b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UART_TransferAbortSendSDMA </td>
          <td>(</td>
          <td class="paramtype">UART_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uart_sdma_handle_t *&#160;</td>
          <td class="paramname"><em>handle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This function aborts sent data using sDMA.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>UART peripheral base address. </td></tr>
    <tr><td class="paramname">handle</td><td>Pointer to the uart_sdma_handle_t structure. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga3d2e02cef72ee6ad5d24e999ab661e3b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UART_TransferAbortReceiveSDMA </td>
          <td>(</td>
          <td class="paramtype">UART_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uart_sdma_handle_t *&#160;</td>
          <td class="paramname"><em>handle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This function aborts receive data using sDMA.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>UART peripheral base address. </td></tr>
    <tr><td class="paramname">handle</td><td>Pointer to the uart_sdma_handle_t structure. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.5-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul class="foot">
    <li class="footer">&copy; 2016 NXP Semiconductors. All rights reserved.
    </li>
  </ul>
</div>
</body>
</html>
